import { BaseEntity } from "./BaseEntity";
import { PmsCategory } from "./PmsCategory";
import { PmsSellingStatus } from "./PmsSellingStatus";

export class PmsProduct extends BaseEntity {
    name!: string | null;
    summary!: string | null;
    detail!: string | null;
    imgUrl!: string | null;
    stock!: number | null;
    price!: number | null;
    sellingStatus: PmsSellingStatus | null = PmsSellingStatus.PULL_OFF_SHELVES;
    categoryId?: number | null;
    categoryTree?: PmsCategory | null;
    category?: PmsCategory | null;
}

export default PmsProduct;